home *** CD-ROM | disk | FTP | other *** search
- Path: li.net!usenet
- From: bsilvern@li.net (Bob Silvern)
- Newsgroups: comp.lang.c
- Subject: Re: Borlands c/c++ compiler help!!
- Date: Fri, 12 Jan 1996 02:37:11 GMT
- Organization: Harmony Graphics
- Message-ID: <4d4hh2$s8o@linet02.li.net>
- References: <4cu5f6$fg2@vector.wantree.com.au>
- NNTP-Posting-Host: lisuser76.li.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- jpet@wantree.com.au (Jody Petroni) wrote:
-
- >Im writing a simple-intermediate application in C I have got a compiler
- >from Borlands which claims to be both for C and C++ .it installs as C++ 3.1
- >but compiles my C code satisfactorily except for 2 errors:
-
- >1. "Group Overflowed Maximum size:DGROUP"
- >2. "Call to function xyz with no prototype"
-
- >I have delcared all functions as either void or with their return type
- >so I cant quite understand Error 2 . Error 1 is a mystery.
-
- >can anyone help!???
-
- Error #1 sounds like you've declared too much static data. The selected
- memory model, found under: "Options,Project,16 Bit Compiler,MemoryModel"
- determines the maximum allowed (either 64K or 1MB). If you've selected Tiny,
- Small or Medium, try using Compact, Large or Huge which will give you the 1MB
- maximum. Otherwise, declare any unitialized static data as far instead of the
- default near. Alternatively, dynamically allocate any very large arrays with
- functions such as malloc or GlobalAlloc.
-
- As for Error #2, sounds like you may have used a declaration such as:
- void xyz();
- Omiting the calling parameters, even if void, will produce that warning. Try
- instead declaring the function with its paramters, including void, such as:
- void xyz(void);
-
- Good luck.
-
-